<?php 
// b/c we need pr() like f(x) in every file i'e include it on layout
require_once("includes/common.php");
?>
<html>
  <head>
    <title>My First Page of Project</title>
    <!-- CSS Cascade style sheet  -->
    <link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
    <link href="css/site.css" rel="stylesheet" type="text/css"/>

    <!-- Java script  -->
    <script>

    </script>
  </head>

  <body>

    <div class="main">
      <div class="child1">
       <a href="#">HOME</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <a href="#">HOME</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

      </div>

      <div class="child2">
        <div class="left">
          <ul>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
            <li>HOME</li>
            <li>ABOUT US </li>
            <li>CONTACT US </li>
          </ul>
        </div><!-- End of left --->

        <div class="right">
          <?php 
           $page = isset($_GET['page']) ? $_GET['page'] : '';
          
          switch($page){
            case 'edit_user':require_once('edit_user.php');break ;
            case 'view_profile':require_once('view_profile.php');break ;
            default:require_once('register.php'); 
          }
          
          
          ?>
        </div>

      </div>  <!-- End of child2 --->
    </div> <!-- End of main --->

  </body>
</html>
